package com.example.demo.service;

import com.example.demo.model.Message;

import java.util.List;

public interface IMessageService {

    void insertMessage(Message message);

     Integer getUnReadMessage(Long receiveUserId);

     List<Message> getMessageByReceiveId(Long receiveUserId);

     void updateMessageState(Long messageId,Byte state);

     Message selectMessageById(Long messageId);

}
